struct VSOut
{
	float4 pos: SV_Position;
	float4 color: COLOR;
};

VSOut VSMain(float3 pos : POSITION, float4 color : COLOR)
{
	VSOut v;
	v.pos = float4(pos.xyz, 1.0f);
	v.color = color;
	return v;
}

float4 PSMain(VSOut input) : SV_Target
{
	return input.color;
}
